<include file="Public:header" />
<include file="Public:leftside" />
<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i> <a href="/">首页</a> </li>
			<li><a href="javascript:;">商品属性管理</a></li>
	
		</ul>
	</div>
	<div class="page-content">
  <div class="row panel-body" style="width: 100%;margin: 5px auto;padding: 15px 0;">
        <a href="{:U('Shop/index')}" class="btn btn-sm btn-default">商品管理</a>
        <a href="{:U('Shop/ticketTypeList')}" class="btn btn-sm btn-default">商品分类</a>
        <a href="{:U('Shop/brandList')}" class="btn btn-sm btn-default">商品品牌</a>
        <a href="{:U('Shop/attributelist')}" class="btn btn-sm btn-primary">商品类型</a>

    </div>
    <section class="panel-default m-b-sm">
        <div class="alert alert-info">
            <p>
              <i class="fa fa-hand-o-right m-r-xs"></i><strong>操作提示</strong>
            </p>
            <p class="alert-p m-l-xl"><i class="fa fa-caret-right m-r-xs"></i>该页面可对商品属性添加修改操作。</p>
            
        </div>
     </section>
    <div class="listContent">

    	<div>
      <a href="__CONTROLLER__/configAdd/type_id/<?=I('get.type_id')?>" class="btn btn-sm btn-primary" style="margin-bottom: 10px;"><i class="fa fa-plus"></i> 添加属性</a></div>
    	<table class="table table-striped table-bordered table-hover" border="0" cellpadding="0" cellspacing="0" >
           <thead>
        	<tr class="title">
                <td style="width: 50px;">ID</td>
                <td style="width: 200px;">名称</td>
                
                <td style="width: 400px;">内容</td>
                <td style="width: 200px;">排序</td>
                <td style="width: 100px;">操作</td>
            </tr>
           </thead>
           <tbody>
           <volist name="array" id="row">
     		<tr class="list" id="list<?=$row['id']?>">
                <td style="width: 50px;">{$row['id']}</td>
                <td style="width: 200px; font-weight:bold;">{$row['title']}</td>
                
                <td style="width: 400px;">{$row['content']}</td>
                <td style="width: 200px; font-weight:bold;">{$row['sort']}</td>
                <td style="width: 100px;">
                    <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
				      <button onclick="location.href='__CONTROLLER__/configAdd/id/<?=$row['id']?>/type_id/<?=I('get.type_id')?>'" class="btn btn-xs btn-info"> 
				      	编辑
				      </button>
					 <button ajax="1"  url="__CONTROLLER__/configDelete/id/<?=$row['id']?>/type_id/<?=I('get.type_id')?>/ishidden/1"  class="btn btn-xs btn-danger aclick"> 
					 	删除
					 </button>
													
					</div>
                    <!-- onclick="location.href='__CONTROLLER__/configDelete/id/<?=$row['id']?>/type_id/<?=I('get.type_id')?>/ishidden/1'" -->
                </td>
            </tr>
           </volist>
           </tbody>
        </table>
    </div>
   </div>
</div>
<include file="Public:footer" />
